package com.monitor.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.List;

@TableName("erp_customer_role")
public class ErpCustomerRole extends Model<ErpCustomerWarehouse> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String roleName;
    private String roleAction;


    private transient List<ErpPowers> erpPowersList;

    public List<ErpPowers> getErpPowersList() {
        return erpPowersList;
    }

    public void setErpPowersList(List<ErpPowers> erpPowersList) {
        this.erpPowersList = erpPowersList;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleAction() {
        return roleAction;
    }

    public void setRoleAction(String roleAction) {
        this.roleAction = roleAction;
    }
}
